home *** CD-ROM | disk | FTP | other *** search
- Path: info.bta.net.cn!usenet
- From: jafd@public.sta.net.cn
- Newsgroups: comp.lang.c++
- Subject: Re: int::~int()
- Date: Mon, 15 Apr 1996 09:41:55 +0900
- Organization: Beijing Telegraph Administration
- Message-ID: <31719B53.402D@public.sta.net.cn>
- References: <317083F7.116E@public.sta.net.cn> <ltlojzns3u.fsf@kitz.inferenzsysteme.informatik.th-darmstadt.de>
- NNTP-Posting-Host: ts1-9.sta.net.cn
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.01 (Win95; I)
-
- Enno Sandner wrote:
- ...
- > It's legal C++ (check out DWP 12.4:12) and e.g. g++2.6.3
- > compiles this code without any problems.
- > The explicit invocation of the int-dtor has no effect.
- >
- > Enno
-
- I found that both Borland C++ 4.x and Visual C++ 4.0 can't
- compile it!
-
- but Watcom C++ 10.0 can compile it.
-
- it is strange, both BC++4.x and Visual C++4.0 are newer that
- Watcom C++ 10.0, but why can't they compile it?
-
- XuYifeng
-